<?php
class Core_Data_Databaseoperation implements Core_Data_Mainable {
    
    public $database;
    
    public function __construct() {
        $this->database = new Core_Driver_MysqlImproved;
    }
    
    public function main(array $variables = null) {
        $this->database->connect();
        $this->database->prepare($variables['sql_query']);
        $this->database->query();
        return $this->database->dataOperations();
    }

}
